/**
 * Copyright &copy; 2016 CNJSON All rights reserved.
 */
package com.hongsuan.pplive.modules.live.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cnjson.db.service.CrudService;
import com.cnjson.db.persistence.Page;
import com.hongsuan.pplive.modules.live.dao.LiveRedEnvelopeRecordDao;
import com.hongsuan.pplive.modules.live.entity.LiveRedEnvelopeRecord;

/**
 * 单表生成Service
 * @author cgli
 * @version 2016-04-18
 */
@Service
@Transactional(readOnly = true)
public class LiveRedEnvelopeRecordService extends CrudService<LiveRedEnvelopeRecordDao, LiveRedEnvelopeRecord> {

	public LiveRedEnvelopeRecord get(String id) {
		return super.get(id);
	}

	public List<LiveRedEnvelopeRecord> findList(LiveRedEnvelopeRecord liveRedEnvelopeRecord) {
		return super.findList(liveRedEnvelopeRecord);
	}

	public Page<LiveRedEnvelopeRecord> findPage(Page<LiveRedEnvelopeRecord> page, LiveRedEnvelopeRecord liveRedEnvelopeRecord) {
		return super.findPage(page, liveRedEnvelopeRecord);
	}

	@Transactional(readOnly = false)
	public void save(LiveRedEnvelopeRecord liveRedEnvelopeRecord) {
		super.save(liveRedEnvelopeRecord);
	}

	@Transactional(readOnly = false)
	public void delete(LiveRedEnvelopeRecord liveRedEnvelopeRecord) {
		super.delete(liveRedEnvelopeRecord);
	}

}